/**
 * 猪哥亮开源
 * 作者 猪哥亮
 * 邮箱 1030681978@qq.com
 */
package cn.jnetty.ioc.factorys;

import cn.jnetty.ioc.factorys.config.BeanDefinition;
import cn.jnetty.ioc.factorys.config.BeanFactory;
import cn.jnetty.ioc.factorys.support.GenericBeanDefinition;

/**
 * @author 猪哥亮
 * @email 1030681978@qq.com
 * @date 2020/7/6 16:15
 * 描述： 
 *
 */
public class GenericBeanDifintionFactory implements BeanFactory {
    private GenericBeanDefinition definition;

    public GenericBeanDefinition getDefinition() {
        return definition;
    }

    public void setDefinition(GenericBeanDefinition definition) {
        this.definition = definition;
    }

    @Override
    public BeanDefinition getBeanDefinition(String beanName) {
        return definition;
    }

    @Override
    public Object getObject(String beanName) {
        return null;
    }

    @Override
    public Object getObject(Class<?> clazz) {
        return null;
    }
}
